#pragma once
#include "afxwin.h"
#include "resizablepage.h"


// CReviewsTab dialog

class CReviewsTab : public CResizablePage
{
	DECLARE_DYNAMIC(CReviewsTab)

public:
	CReviewsTab();
	virtual ~CReviewsTab();

private:
	Album					*_currentAlbum;

// Dialog Data
public:
	enum { IDD = IDD_REVIEWSTAB };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	BOOL setResult(Album* album);

private:
	BOOL displayAlbum(void);
public:
	CEdit _title;
	CEdit _rating;
	CEdit _review;
	afx_msg void OnBnClickedPrevious();
	afx_msg void OnBnClickedNext();

private:
	int _pos;
private:
	BOOL clear(void);
//	afx_msg void OnPaint();
public:
	BOOL _refresh;
	afx_msg void OnPaint();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};
